package com.digua.atools.tools;

import android.app.Application;

/**
 * @author:digua
 * @dat:2021/8/31
 * @description:初始化Autils
 */
public class Autils {
    public static Application app = null;

    /**
     * 初始化
     *
     * @param app
     */
    public static void init(Application app) {
//        init(app, AppUtil.isDebug(app));
        init(app, true);
    }

    /**
     * 初始化
     *
     * @param app
     * @param isDebug
     */
    public static void init(Application app, boolean isDebug) {
        AConfig.isDebug = isDebug;
        AConfig.isLog = isDebug;
        Autils.app = app;
    }
}
